package com.ngc.mall.service;

import com.ngc.mall.domain.GridCategoryDomain;
import com.ngc.mall.dto.GridCategoryDTO;

import java.util.List;

public interface IGridCategoryService {

    List<GridCategoryDomain> selectAll();

    GridCategoryDomain getDetailById(Long id);

    Long createGridCategory(GridCategoryDTO dto);

    Boolean updateGridCategory(GridCategoryDTO dto,Long id);

    Boolean updateStatusById(Long id,Boolean status);

    Boolean deleteById(Long id);
}
